package com.shuyihui.identity.bean;

import android.graphics.Bitmap;


import com.shuyihui.identity.CardType;

import java.io.Serializable;


/**
 * 创建日期 2020/12/8
 * 描述：
 */
public class AdvanceCardBean implements Serializable {

    private CardType cardType;
    private String imageQualityId;
    private Bitmap previewBitmap;
    private String originPath;
    private String imageUrl;

    public AdvanceCardBean() {
    }

    public AdvanceCardBean(CardType cardType, String imageQualityId, Bitmap previewBitmap, String originPath) {
        this.cardType = cardType;
        this.imageQualityId = imageQualityId;
        this.previewBitmap = previewBitmap;
        this.originPath = originPath;
    }

    public AdvanceCardBean(CardType cardType, String imageQualityId, Bitmap previewBitmap, String originPath, String imageUrl) {
        this.cardType = cardType;
        this.imageQualityId = imageQualityId;
        this.previewBitmap = previewBitmap;
        this.originPath = originPath;
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() {
        return imageUrl == null ? "" : imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public CardType getCardType() {
        return cardType;
    }

    public void setCardType(CardType cardType) {
        this.cardType = cardType;
    }

    public String getImageQualityId() {
        return imageQualityId == null ? "" : imageQualityId;
    }

    public void setImageQualityId(String imageQualityId) {
        this.imageQualityId = imageQualityId;
    }

    public Bitmap getPreviewBitmap() {
        return previewBitmap;
    }

    public void setPreviewBitmap(Bitmap previewBitmap) {
        this.previewBitmap = previewBitmap;
    }

    public String getOriginPath() {
        return originPath == null ? "" : originPath;
    }

    public void setOriginPath(String originPath) {
        this.originPath = originPath;
    }
}
